<<<<<<< HEAD
<?php
/**
 * Created by PhpStorm.
 * User: Yangxufeng
 * Date: 2018/9/12
 * Time: 23:06
 */

namespace app\index\controller;

use app\index\server\ThemeServer;
use think\Controller;

class Theme extends Controller
{
    private $server;

    public function _initialize()
    {
        $this->server = new ThemeServer();
    }

    public function index()
    {
        $theme_data = $this->server->getThemeList();
        $this->assign('theme', $theme_data);
        return $this->fetch();
    }
=======
<?php
/**
 * Created by PhpStorm.
 * User: Yangxufeng
 * Date: 2018/9/12
 * Time: 23:06
 */

namespace app\index\controller;

use app\index\server\ThemeServer;
use think\Controller;

class Theme extends Controller
{
    private $server;

    public function _initialize()
    {
        $this->server = new ThemeServer();
    }

    public function index()
    {
        $theme_data = $this->server->getThemeList();
        $this->assign('theme', $theme_data);
        return $this->fetch();
    }
>>>>>>> 93c40d8086b7a8d5a9aa3548fdc8eb06a4272cf7
}